﻿/***********************************************************************************************
 * 
 * ProjectName: WMSSoft.Lib.WinKStart
 * 
 * Description: Contains the Meta - Data about a Assembly
 * 
 * Created:     10.01.2015
 * 
 * Author:      matthias wagler - matthias@WMSSoft.de
 * 
 * Copyright:   Copyright 2015 by WMSSoft.net
 * 
 * License:     GPLv3
 * 
 * History:     10.01.2015 - matthias wagler matthias@WMSSoft.de   -   Created
 * 
 **********************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMSSoft.Lib.Interfaces;
using WMSSoft.Lib.WinKStart.Abstract;

namespace WMSSoft.Lib.WinKStart.Model.Metadata
{
    /// <summary>
    /// Contains the Meta-Data to a Assembly
    /// </summary>
    public class CMeta : CModelBase
    {
        CAssemblyInfo m_Info = null;
        List<CMetaClass> m_Classes = null;
        ISourceElementOptions m_ElementOptions = null;
        string m_AssemblyName = "";

        public CMeta()
        {
            m_Info = new CAssemblyInfo();
            m_Classes = new List<CMetaClass>();
        }

        public string AssemblyName
        {
            get { return m_AssemblyName; }
            set 
            {
                m_AssemblyName = value;
                OnPropertyChanged();
            }
        }

        public CAssemblyInfo Info
        {
            get { return m_Info; }
            set 
            { 
                m_Info = value;
                OnPropertyChanged();
            }
        }

        public List<CMetaClass> Classes
        {
            get { return m_Classes; }
            set 
            { 
                m_Classes = value;
                OnPropertyChanged();
            }
        }

        public ISourceElementOptions ElementOptions
        {
            get { return m_ElementOptions; }
            set 
            {
                m_ElementOptions =value;
                OnPropertyChanged();
            }
        }
    }
}
